package com.flk.flkelasticsearch.service;

import com.flk.flkelasticsearch.entity.EsNews;

import java.io.IOException;
import java.util.List;

/**
 * @author xxwy
 * on 2018/11/8 0008
 */
public interface IFlkNewsService {


    List<EsNews> getTitleAndCode(String info, int size, int page);


    List<Object> getBeforeTitle(String info, int size);

    List<String> getHotInfo(String info) throws IOException;

    void saveOrUpdateHotWords(String info, String indexName);
}

